﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VideoMonitorSystem.DAL;
using System.Data.SqlClient;

namespace VideoMonitorSystem.Test
{
    class Program
    {
        static void Main(string[] args)
        {

            int num = DBHelper.GetDataTable("select * from deptinfo where sID = @sID", new SqlParameter("@sId", 2)).Rows.Count;

            Console.WriteLine(num.ToString());
            Console.ReadLine();
        }
    }
}
